﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EDM
{
    public class RoleTranslator
    {
        public static BLL.Role TranslateToRoleBE(EDM.Role roleDE)
        {
            BLL.Role roleBE = new BLL.Role();
            roleBE.RoleId = roleDE.RoleId;
            roleBE.RoleName = roleDE.RoleName;
            //roleBE.StatusId = roleDE.StatusId;
            
            roleBE.StatusText.StatusId = roleDE.StatusId;
            return roleBE;

        }
    }
}